package com.sample.c01.lambda;

import java.util.Arrays;

public class LambdaTest {
    public static void main(String[] args){
        final String separator = ",";
        Arrays.asList( "a", "b", "d" ).forEach( e -> System.out.print(e+separator));
       // Arrays.asList( "a", "b", "d" ).forEach( (String var ) -> System.out.println( var ) );
    }


}
